'use strict';

const db = uniCloud.database();
const collection = db.collection('toolsList');
exports.main = async (event, context) => {
	//event为客户端上传的参数
	// console.log('event : ', event)
	
	
	const res = await collection.get()
	return res
};
